<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Fri Apr 13 14:43:07 EEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
NfcMenuForm (Nfc Creator)
</TITLE>

<META NAME="date" CONTENT="2012-04-13">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="NfcMenuForm (Nfc Creator)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/nokia/examples/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NfcMenuForm.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/nokia/examples/NfcManager.html" title="class in com.nokia.examples"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/nokia/examples/TagFileManager.html" title="class in com.nokia.examples"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/nokia/examples/NfcMenuForm.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="NfcMenuForm.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.nokia.examples</FONT>
<BR>
Class NfcMenuForm</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.microedition.lcdui.Displayable
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.microedition.lcdui.Screen
          <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.microedition.lcdui.Form
              <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.nokia.examples.NfcMenuForm</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A>, java.lang.Runnable, javax.microedition.lcdui.CommandListener, javax.microedition.lcdui.ItemStateListener</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>NfcMenuForm</B><DT>extends javax.microedition.lcdui.Form<DT>implements javax.microedition.lcdui.CommandListener, javax.microedition.lcdui.ItemStateListener, <A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A>, java.lang.Runnable</DL>
</PRE>

<P>
User interface and controller for the application.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Andreas Jakl</DD>
</DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.Command</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#backCommand">backCommand</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Command to go back to the big selection screen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#CLONE_TAG">CLONE_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy NDEF message contents of one tag to another tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#cloneStatus">cloneStatus</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status code when cloning a tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.StringItem</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#cloneTagStatus">cloneTagStatus</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element that shows further instructions when cloning a tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#DELETE_TAG">DELETE_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: the record currently present on the tag is overwritten with an empty record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.Command</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#exitCommand">exitCommand</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Command to exit the app.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../com/nokia/examples/NfcCreatorMidlet.html" title="class in com.nokia.examples">NfcCreatorMidlet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#midlet">midlet</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Midlet class to exit the app when the command is selected by the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../com/nokia/examples/NfcManager.html" title="class in com.nokia.examples">NfcManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#nfcManager">nfcManager</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The nfcManager handles all interaction with the contactless communication API.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#nfcSupported">nfcSupported</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is NFC supported by this device?</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#operatingModeNames">operatingModeNames</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Names of the operating modes, to be used in the UI element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#operationMode">operationMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Current operation mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#operationModeSelector">operationModeSelector</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selection UI element to choose the current interaction mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#posterAction">posterAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to choose the action associated with the Smart Poster.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#posterEnabledMessages">posterEnabledMessages</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to choose which messages to write to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#READ_RAW_TAG">READ_RAW_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: raw data is read from the tag and logged to a file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#READ_TAG">READ_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: the tag will be read.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.DateField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagCalEnd">tagCalEnd</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the ending date & time for a vCalendar entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.DateField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagCalStart">tagCalStart</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the starting date & time for a vCalendar entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagCalSummary">tagCalSummary</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the summary of the vCalendar entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagChooseImage">tagChooseImage</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to choose which image to store on the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagContents">tagContents</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to show info about the discovered tags when reading.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagCustomPayload">tagCustomPayload</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the payload of a record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagGeoType">tagGeoType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Choose mechanism to write geo tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagLatitude">tagLatitude</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the latitude.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagLongitude">tagLongitude</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the longitude.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagSmsBody">tagSmsBody</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the SMS body.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.ChoiceGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagSmsEnabledMessages">tagSmsEnabledMessages</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to choose which parts to write for an sms tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagSmsNumber">tagSmsNumber</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the SMS recipient number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagText">tagText</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the text of a record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagTextLanguage">tagTextLanguage</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the text language of a record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagTypeUri">tagTypeUri</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the Type Uri of a record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;javax.microedition.lcdui.TextField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagUrl">tagUrl</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UI element to enter the URL of a record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_ANNOTATED_URL_TAG">WRITE_ANNOTATED_URL_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write an annotated url (url record and text record 
 without Smart Poster meta-record) to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_COMBINATION_TAG">WRITE_COMBINATION_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write a combination tag format:
 1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_CUSTOM_TAG">WRITE_CUSTOM_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write a custom tag format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_GEO_TAG">WRITE_GEO_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write a geo URI to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_IMAGE_TAG">WRITE_IMAGE_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write an image to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_RAW_TAG">WRITE_RAW_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write the newest data file to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_SMS_TAG">WRITE_SMS_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write an sms link to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_SP_TAG">WRITE_SP_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: the Smart Poster info currently visible in the form is written to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_TEXT_TAG">WRITE_TEXT_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write text to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_URI_TAG">WRITE_URI_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write a uri to the tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#WRITE_VCALENDAR_TAG">WRITE_VCALENDAR_TAG</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When touching an NFC tag: write a simple, customizable vCalendar entry.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#NfcMenuForm(com.nokia.examples.NfcCreatorMidlet)">NfcMenuForm</A></B>(<A HREF="../../../com/nokia/examples/NfcCreatorMidlet.html" title="class in com.nokia.examples">NfcCreatorMidlet</A>&nbsp;midlet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#activateOperationMode(int)">activateOperationMode</A></B>(int&nbsp;newOperationMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switches the internal operation mode between reading, writing and deleting tags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)">commandAction</A></B>(javax.microedition.lcdui.Command&nbsp;command,
              javax.microedition.lcdui.Displayable&nbsp;displayable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implementation of the call-back function of the CommandListener</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#createMainUi()">createMainUi</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the main UI and all the UI elements that are used by the 
 different writing modes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#displayAlert(java.lang.String, java.lang.String, javax.microedition.lcdui.AlertType)">displayAlert</A></B>(java.lang.String&nbsp;title,
             java.lang.String&nbsp;text,
             javax.microedition.lcdui.AlertType&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility function to show a Java ME alert, as used for informing the user
 about events in this demo app.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#getSelectedImageName()">getSelectedImageName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#init()">init</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#isWriteOperationMode(int)">isWriteOperationMode</A></B>(int&nbsp;operationMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if the specified operating mode is one that would write a tag 
 (-> true) or one that reads / deletes a tag (-> false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#itemStateChanged(javax.microedition.lcdui.Item)">itemStateChanged</A></B>(javax.microedition.lcdui.Item&nbsp;item)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call-back from the choice group that selects the operation mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#logTagInfo(java.lang.String)">logTagInfo</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Log information about a tag in textual form.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#privateInit()">privateInit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the UI and the NFC interaction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#resetFormExceptFirstX(int)">resetFormExceptFirstX</A></B>(int&nbsp;numRemainingElements)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear all elements of the Form UI-element except the first few.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#run()">run</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#setupFormHeader(int, int)">setupFormHeader</A></B>(int&nbsp;oldOperationMode,
                int&nbsp;newOperationMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Setup the UI for the new operation mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#shutdown()">shutdown</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagError(java.lang.String)">tagError</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback from the NFC Manager when reading / writing to a text was
 not successful.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagReady()">tagReady</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback when a tag was found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/nokia/examples/NfcMenuForm.html#tagSuccess(java.lang.String)">tagSuccess</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback from the NFC Manager when writing to a tag was successful.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.microedition.lcdui.Form"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.Form</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.microedition.lcdui.Displayable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.microedition.lcdui.Displayable</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle, sizeChanged</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="midlet"><!-- --></A><H3>
midlet</H3>
<PRE>
private <A HREF="../../../com/nokia/examples/NfcCreatorMidlet.html" title="class in com.nokia.examples">NfcCreatorMidlet</A> <B>midlet</B></PRE>
<DL>
<DD>Midlet class to exit the app when the command is selected by the user.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="nfcSupported"><!-- --></A><H3>
nfcSupported</H3>
<PRE>
private boolean <B>nfcSupported</B></PRE>
<DL>
<DD>Is NFC supported by this device?
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="nfcManager"><!-- --></A><H3>
nfcManager</H3>
<PRE>
private <A HREF="../../../com/nokia/examples/NfcManager.html" title="class in com.nokia.examples">NfcManager</A> <B>nfcManager</B></PRE>
<DL>
<DD>The nfcManager handles all interaction with the contactless communication API.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="exitCommand"><!-- --></A><H3>
exitCommand</H3>
<PRE>
private javax.microedition.lcdui.Command <B>exitCommand</B></PRE>
<DL>
<DD>Command to exit the app.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="backCommand"><!-- --></A><H3>
backCommand</H3>
<PRE>
private javax.microedition.lcdui.Command <B>backCommand</B></PRE>
<DL>
<DD>Command to go back to the big selection screen.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="operationModeSelector"><!-- --></A><H3>
operationModeSelector</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>operationModeSelector</B></PRE>
<DL>
<DD>Selection UI element to choose the current interaction mode.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="operatingModeNames"><!-- --></A><H3>
operatingModeNames</H3>
<PRE>
private static final java.lang.String[] <B>operatingModeNames</B></PRE>
<DL>
<DD>Names of the operating modes, to be used in the UI element.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="operationMode"><!-- --></A><H3>
operationMode</H3>
<PRE>
private int <B>operationMode</B></PRE>
<DL>
<DD>Current operation mode. Can be either READ_TAG, WRITE_TAG or DELETE_TAG.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="READ_TAG"><!-- --></A><H3>
READ_TAG</H3>
<PRE>
private static final int <B>READ_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: the tag will be read.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.READ_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_SP_TAG"><!-- --></A><H3>
WRITE_SP_TAG</H3>
<PRE>
private static final int <B>WRITE_SP_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: the Smart Poster info currently visible in the form is written to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_SP_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_URI_TAG"><!-- --></A><H3>
WRITE_URI_TAG</H3>
<PRE>
private static final int <B>WRITE_URI_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write a uri to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_URI_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_TEXT_TAG"><!-- --></A><H3>
WRITE_TEXT_TAG</H3>
<PRE>
private static final int <B>WRITE_TEXT_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write text to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_TEXT_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_SMS_TAG"><!-- --></A><H3>
WRITE_SMS_TAG</H3>
<PRE>
private static final int <B>WRITE_SMS_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write an sms link to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_SMS_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_ANNOTATED_URL_TAG"><!-- --></A><H3>
WRITE_ANNOTATED_URL_TAG</H3>
<PRE>
private static final int <B>WRITE_ANNOTATED_URL_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write an annotated url (url record and text record 
 without Smart Poster meta-record) to the tag. Used by some Qt Mobility examples.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_ANNOTATED_URL_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_IMAGE_TAG"><!-- --></A><H3>
WRITE_IMAGE_TAG</H3>
<PRE>
private static final int <B>WRITE_IMAGE_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write an image to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_IMAGE_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_GEO_TAG"><!-- --></A><H3>
WRITE_GEO_TAG</H3>
<PRE>
private static final int <B>WRITE_GEO_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write a geo URI to the tag. Specs: http://tools.ietf.org/rfc/rfc5870
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_GEO_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_CUSTOM_TAG"><!-- --></A><H3>
WRITE_CUSTOM_TAG</H3>
<PRE>
private static final int <B>WRITE_CUSTOM_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write a custom tag format.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_CUSTOM_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_COMBINATION_TAG"><!-- --></A><H3>
WRITE_COMBINATION_TAG</H3>
<PRE>
private static final int <B>WRITE_COMBINATION_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write a combination tag format:
 1. Custom record (for handling with a custom content handler plug-in) & 
 2. URL (e.g., a link to the Nokia Store to download the app including
 the content-handler plug-in).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_COMBINATION_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_VCALENDAR_TAG"><!-- --></A><H3>
WRITE_VCALENDAR_TAG</H3>
<PRE>
private static final int <B>WRITE_VCALENDAR_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write a simple, customizable vCalendar entry.
 Specifications: http://tools.ietf.org/html/rfc2445
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_VCALENDAR_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="READ_RAW_TAG"><!-- --></A><H3>
READ_RAW_TAG</H3>
<PRE>
private static final int <B>READ_RAW_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: raw data is read from the tag and logged to a file.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.READ_RAW_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WRITE_RAW_TAG"><!-- --></A><H3>
WRITE_RAW_TAG</H3>
<PRE>
private static final int <B>WRITE_RAW_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: write the newest data file to the tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.WRITE_RAW_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="CLONE_TAG"><!-- --></A><H3>
CLONE_TAG</H3>
<PRE>
private static final int <B>CLONE_TAG</B></PRE>
<DL>
<DD>Copy NDEF message contents of one tag to another tag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.CLONE_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="DELETE_TAG"><!-- --></A><H3>
DELETE_TAG</H3>
<PRE>
private static final int <B>DELETE_TAG</B></PRE>
<DL>
<DD>When touching an NFC tag: the record currently present on the tag is overwritten with an empty record.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.nokia.examples.NfcMenuForm.DELETE_TAG">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="tagContents"><!-- --></A><H3>
tagContents</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagContents</B></PRE>
<DL>
<DD>UI element to show info about the discovered tags when reading.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="posterEnabledMessages"><!-- --></A><H3>
posterEnabledMessages</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>posterEnabledMessages</B></PRE>
<DL>
<DD>UI element to choose which messages to write to the tag.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="posterAction"><!-- --></A><H3>
posterAction</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>posterAction</B></PRE>
<DL>
<DD>UI element to choose the action associated with the Smart Poster. Only visible when in WRITE_TAG operation mode.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagUrl"><!-- --></A><H3>
tagUrl</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagUrl</B></PRE>
<DL>
<DD>UI element to enter the URL of a record.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagText"><!-- --></A><H3>
tagText</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagText</B></PRE>
<DL>
<DD>UI element to enter the text of a record.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagTextLanguage"><!-- --></A><H3>
tagTextLanguage</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagTextLanguage</B></PRE>
<DL>
<DD>UI element to enter the text language of a record.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagTypeUri"><!-- --></A><H3>
tagTypeUri</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagTypeUri</B></PRE>
<DL>
<DD>UI element to enter the Type Uri of a record.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagCustomPayload"><!-- --></A><H3>
tagCustomPayload</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagCustomPayload</B></PRE>
<DL>
<DD>UI element to enter the payload of a record.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagChooseImage"><!-- --></A><H3>
tagChooseImage</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>tagChooseImage</B></PRE>
<DL>
<DD>UI element to choose which image to store on the tag.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagSmsEnabledMessages"><!-- --></A><H3>
tagSmsEnabledMessages</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>tagSmsEnabledMessages</B></PRE>
<DL>
<DD>UI element to choose which parts to write for an sms tag.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagSmsNumber"><!-- --></A><H3>
tagSmsNumber</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagSmsNumber</B></PRE>
<DL>
<DD>UI element to enter the SMS recipient number.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagSmsBody"><!-- --></A><H3>
tagSmsBody</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagSmsBody</B></PRE>
<DL>
<DD>UI element to enter the SMS body.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagLatitude"><!-- --></A><H3>
tagLatitude</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagLatitude</B></PRE>
<DL>
<DD>UI element to enter the latitude.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagLongitude"><!-- --></A><H3>
tagLongitude</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagLongitude</B></PRE>
<DL>
<DD>UI element to enter the longitude.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagGeoType"><!-- --></A><H3>
tagGeoType</H3>
<PRE>
private javax.microedition.lcdui.ChoiceGroup <B>tagGeoType</B></PRE>
<DL>
<DD>Choose mechanism to write geo tag.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagCalSummary"><!-- --></A><H3>
tagCalSummary</H3>
<PRE>
private javax.microedition.lcdui.TextField <B>tagCalSummary</B></PRE>
<DL>
<DD>UI element to enter the summary of the vCalendar entry.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagCalStart"><!-- --></A><H3>
tagCalStart</H3>
<PRE>
private javax.microedition.lcdui.DateField <B>tagCalStart</B></PRE>
<DL>
<DD>UI element to enter the starting date & time for a vCalendar entry.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tagCalEnd"><!-- --></A><H3>
tagCalEnd</H3>
<PRE>
private javax.microedition.lcdui.DateField <B>tagCalEnd</B></PRE>
<DL>
<DD>UI element to enter the ending date & time for a vCalendar entry.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cloneTagStatus"><!-- --></A><H3>
cloneTagStatus</H3>
<PRE>
private javax.microedition.lcdui.StringItem <B>cloneTagStatus</B></PRE>
<DL>
<DD>UI element that shows further instructions when cloning a tag.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cloneStatus"><!-- --></A><H3>
cloneStatus</H3>
<PRE>
private int <B>cloneStatus</B></PRE>
<DL>
<DD>Status code when cloning a tag.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="NfcMenuForm(com.nokia.examples.NfcCreatorMidlet)"><!-- --></A><H3>
NfcMenuForm</H3>
<PRE>
public <B>NfcMenuForm</B>(<A HREF="../../../com/nokia/examples/NfcCreatorMidlet.html" title="class in com.nokia.examples">NfcCreatorMidlet</A>&nbsp;midlet)</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="run()"><!-- --></A><H3>
run</H3>
<PRE>
public void <B>run</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="privateInit()"><!-- --></A><H3>
privateInit</H3>
<PRE>
private void <B>privateInit</B>()</PRE>
<DL>
<DD>Initialize the UI and the NFC interaction.
 To be executed from an own thread to ensure fast app startup.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="shutdown()"><!-- --></A><H3>
shutdown</H3>
<PRE>
public void <B>shutdown</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createMainUi()"><!-- --></A><H3>
createMainUi</H3>
<PRE>
private void <B>createMainUi</B>()</PRE>
<DL>
<DD>Create the main UI and all the UI elements that are used by the 
 different writing modes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemStateChanged(javax.microedition.lcdui.Item)"><!-- --></A><H3>
itemStateChanged</H3>
<PRE>
public void <B>itemStateChanged</B>(javax.microedition.lcdui.Item&nbsp;item)</PRE>
<DL>
<DD>Call-back from the choice group that selects the operation mode.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>itemStateChanged</CODE> in interface <CODE>javax.microedition.lcdui.ItemStateListener</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="activateOperationMode(int)"><!-- --></A><H3>
activateOperationMode</H3>
<PRE>
private void <B>activateOperationMode</B>(int&nbsp;newOperationMode)</PRE>
<DL>
<DD>Switches the internal operation mode between reading, writing and deleting tags.
 Also adjusts the UI in the form accordingly
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newOperationMode</CODE> - one of the defined operation modes 
 (READ_TAG, WRITE_TAG or DELETE_TAG) that should be activated.</DL>
</DD>
</DL>
<HR>

<A NAME="tagReady()"><!-- --></A><H3>
tagReady</H3>
<PRE>
public void <B>tagReady</B>()</PRE>
<DL>
<DD>Callback when a tag was found. The NFC manager will then
 establish a new thread and call this method, so that commands can be issued
 to the tag.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#tagReady()">tagReady</A></CODE> in interface <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setupFormHeader(int, int)"><!-- --></A><H3>
setupFormHeader</H3>
<PRE>
private void <B>setupFormHeader</B>(int&nbsp;oldOperationMode,
                             int&nbsp;newOperationMode)</PRE>
<DL>
<DD>Setup the UI for the new operation mode. Will show the correct selection
 UI element and the according instructions. All other UI elements are cleared
 from the screen.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>oldOperationMode</CODE> - operation mode that was active before.<DD><CODE>newOperationMode</CODE> - operation mode to be activated.</DL>
</DD>
</DL>
<HR>

<A NAME="resetFormExceptFirstX(int)"><!-- --></A><H3>
resetFormExceptFirstX</H3>
<PRE>
private void <B>resetFormExceptFirstX</B>(int&nbsp;numRemainingElements)</PRE>
<DL>
<DD>Clear all elements of the Form UI-element except the first few.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>numRemainingElements</CODE> - how many UI elements should remain from the
 beginning of the UI.</DL>
</DD>
</DL>
<HR>

<A NAME="isWriteOperationMode(int)"><!-- --></A><H3>
isWriteOperationMode</H3>
<PRE>
private boolean <B>isWriteOperationMode</B>(int&nbsp;operationMode)</PRE>
<DL>
<DD>Check if the specified operating mode is one that would write a tag 
 (-> true) or one that reads / deletes a tag (-> false).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>operationMode</CODE> - operation mode to check
<DT><B>Returns:</B><DD>true if the operation mode will write user-specified data to the
 tag, false if it reads / deletes the tag.</DL>
</DD>
</DL>
<HR>

<A NAME="getSelectedImageName()"><!-- --></A><H3>
getSelectedImageName</H3>
<PRE>
private java.lang.String <B>getSelectedImageName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)"><!-- --></A><H3>
commandAction</H3>
<PRE>
public void <B>commandAction</B>(javax.microedition.lcdui.Command&nbsp;command,
                          javax.microedition.lcdui.Displayable&nbsp;displayable)</PRE>
<DL>
<DD>Implementation of the call-back function of the CommandListener
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>commandAction</CODE> in interface <CODE>javax.microedition.lcdui.CommandListener</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>command</CODE> - command key pressed<DD><CODE>displayable</CODE> - associated displayable Object</DL>
</DD>
</DL>
<HR>

<A NAME="tagError(java.lang.String)"><!-- --></A><H3>
tagError</H3>
<PRE>
public void <B>tagError</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Callback from the NFC Manager when reading / writing to a text was
 not successful.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#tagError(java.lang.String)">tagError</A></CODE> in interface <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - Text to show in a message box if desired.</DL>
</DD>
</DL>
<HR>

<A NAME="tagSuccess(java.lang.String)"><!-- --></A><H3>
tagSuccess</H3>
<PRE>
public void <B>tagSuccess</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Callback from the NFC Manager when writing to a tag was successful.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#tagSuccess(java.lang.String)">tagSuccess</A></CODE> in interface <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - Text to show in a message box if desired.</DL>
</DD>
</DL>
<HR>

<A NAME="displayAlert(java.lang.String, java.lang.String, javax.microedition.lcdui.AlertType)"><!-- --></A><H3>
displayAlert</H3>
<PRE>
public void <B>displayAlert</B>(java.lang.String&nbsp;title,
                         java.lang.String&nbsp;text,
                         javax.microedition.lcdui.AlertType&nbsp;type)</PRE>
<DL>
<DD>Utility function to show a Java ME alert, as used for informing the user
 about events in this demo app.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#displayAlert(java.lang.String, java.lang.String, javax.microedition.lcdui.AlertType)">displayAlert</A></CODE> in interface <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - title text to use for the message box.<DD><CODE>text</CODE> - text to show as the main message in the box.<DD><CODE>type</CODE> - one of the available alert types, defining the icon, sound
 and display length.</DL>
</DD>
</DL>
<HR>

<A NAME="logTagInfo(java.lang.String)"><!-- --></A><H3>
logTagInfo</H3>
<PRE>
public void <B>logTagInfo</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#logTagInfo(java.lang.String)">InfoInterface</A></CODE></B></DD>
<DD>Log information about a tag in textual form.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/nokia/examples/InfoInterface.html#logTagInfo(java.lang.String)">logTagInfo</A></CODE> in interface <CODE><A HREF="../../../com/nokia/examples/InfoInterface.html" title="interface in com.nokia.examples">InfoInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - Text that contains information about the tag.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/nokia/examples/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NfcMenuForm.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/nokia/examples/NfcManager.html" title="class in com.nokia.examples"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/nokia/examples/TagFileManager.html" title="class in com.nokia.examples"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/nokia/examples/NfcMenuForm.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="NfcMenuForm.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>
